<%@ page language="java" import="java.util.*,com.entity.*" pageEncoding="UTF-8"%>
<%
if(request.getAttribute("result")!=null){
	if(request.getAttribute("result").equals("ok")){
	%>
		<script>alert("提交成功");location='/dlyh_info.jsp'</script>
	<%
	}else{
	%>
		<script>alert("提交失败");</script>
	<%
	}
}
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns=" http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>邯郸市人口和计划生育委员会人事管理系统</title>
<link rel="stylesheet" type="text/css" href="css/main.css">
<script>
	function menuChange(id){
		for(i=0;i<=4;i++){
			var tab=document.getElementById("tabs_"+i);
			tab.className="";
			var tab2=document.getElementById("second_tabs_"+i);
			tab2.style.display="none";
		}
		var tabselect=document.getElementById("tabs_"+id);
		tabselect.className="selected";
		
		var tab2select=document.getElementById("second_tabs_"+id);
		tab2select.style.display="block";
	}
	
	function menu2Change(id){
	   for(i=0;i<=8;i++){
			var sec=document.getElementById("second_"+i);
			sec.className="";
		}
		var secselect=document.getElementById("second_"+id);
		secselect.className="s";
	}
	function menu3Change(id){
	  for(i=0;i<=13;i++){
			var thi=document.getElementById("third_"+i);
			thi.className="";
		}
		var thiselect=document.getElementById("third_"+id);
		thiselect.className="s";
	}
	function menu4Change(id){
	   for(i=0;i<=3;i++){
			var fou=document.getElementById("four_"+i);
			fou.className="";
		}
		var fouselect=document.getElementById("four_"+id);
		fouselect.className="s";
	}
</script>
<script src="js/jquery.js"></script>
<script src="js/thickbox.js"></script>
<link rel="stylesheet" type="text/css" href="css/ThickBox.css" />
</head>

<body>
  <div id="taskbar">
      
      <div style="width:950px;" id="taskbar_center">
         <div style="display: none;" id="tabs_left_scroll"></div>
         <div style="width: 950px;" id="tabs_container">
		 <div class="selected" id="tabs_0" ><a href="right.do?state=showlist" target="mainIframe" id="tabs_link_portal_3" class="tab" index="portal_3" closable="true" hidefocus="hidefocus" onClick="javascript:menuChange(0);">主页</a></div>
		 <div class="" id="tabs_1"><a href="ryzlList.do?cs=&shzt=" onClick="javascript:menuChange(1);" target="mainIframe" id="tabs_link_f1" class="tab" index="f1" closable="true" hidefocus="hidefocus">人员资料</a></div>
		 <div class="" id="tabs_2"><a href="searchList.do?state=showlist" target="mainIframe" id="tabs_link_f1" class="tab" index="f1" closable="true" hidefocus="hidefocus" onClick="javascript:menuChange(2);">查询</a></div>
		 <div class="" id="tabs_3"><a href="cjgzrs.html" target="mainIframe" id="tabs_link_f1" class="tab" index="f1" closable="true" hidefocus="hidefocus" onClick="javascript:menuChange(3);">统计</a></div>
		 <div class="" id="tabs_4"><a href="dlyh.do?state=findall" onClick="javascript:menuChange(4);" target="mainIframe" id="tabs_link_f1" class="tab" index="f1" closable="true" hidefocus="hidefocus">系统管理</a></div>
		 </div>
         <div style="display: none;" id="tabs_right_scroll"></div>
       
      </div>
      <div id="taskbar_right">
      	
         <a id="logout" href="javascript:window.top.location.href='index.jsp'" hidefocus="hidefocus" title="注销登录"></a>
      </div>
</div>
   <div id="funcbar">
      <div id="funcbar_left">
	  <div style="display: block; left: 0px;" id="second_tabs_0" class="second-tabs-container"></div>

	  <div style="display: none; left: 0px;" id="second_tabs_1" class="second-tabs-container">
	   <%Dlyh dlyh = (Dlyh)request.getSession().getAttribute("dlyh");
	    %>
	  <a title="" class="" id="second_0" href="ryzlGet.do" target="mainIframe" onClick="javascript:menu2Change(0);"  hidefocus="hidefocus"><span>添加人员资料</span></a>
	  <a title="" class="" id="second_1" href="ryzlList.do?cs=&shzt=" onClick="javascript:menu2Change(1);" target="mainIframe" hidefocus="hidefocus"><span>人员资料列表</span></a>
	  <a title="" class="" id="second_2" onClick="javascript:menu2Change(2);" href="ryzlList.do?zbm=28&shzt=&czf==&cs=%e5%9c%a8%e8%81%8c" target="mainIframe" hidefocus="hidefocus"><span>在职人员列表</span></a>
	  <a title="" class="" id="second_3" onClick="javascript:menu2Change(3);" href="ryzlList.do?zbm=28&shzt=&czf==&cs=%e7%a6%bb%e8%81%8c" target="mainIframe" hidefocus="hidefocus"><span>离职人员列表</span></a>
	  <a title="" class="" id="second_4" onClick="javascript:menu2Change(4);" href="ryzlList.do?zbm=28&shzt=&czf==&cs=%e9%80%80%e4%bc%91" target="mainIframe" hidefocus="hidefocus"><span>退休人员列表</span></a>
	  <%
	   if((dlyh.getZd().getTypename().endsWith("县")||dlyh.getZd().getTypename().endsWith("区")||dlyh.getZd().getTypename().equals("武安市"))&&!dlyh.getZd().getTypename().equals("工业园区"))
	   {
	  %>
	  <a title="" class="" id="second_5" onClick="javascript:menu2Change(5);" href="ryzlList.do?zbm=&czf==&cs=&shzt=%e5%b7%b2%e9%80%9a%e8%bf%87" target="mainIframe" hidefocus="hidefocus"><span>已审核人员列表</span></a>
	  <a title="" class="" id="second_6" onClick="javascript:menu2Change(6);" href="ryzlList.do?zbm=&czf==&cs=&shzt=%e6%9c%aa%e5%ae%a1%e6%a0%b8" target="mainIframe" hidefocus="hidefocus"><span>待审核人员列表</span></a>
<%} %>
      <a title="" class="" id="second_7" onClick="javascript:menu2Change(7);" href="rypx.do?state=findall&pxrq=&pxrq2=&xm=" target="mainIframe" hidefocus="hidefocus"><span>培训人员列表</span></a>
	  <a title="" class="" id="second_8" onClick="javascript:menu2Change(8);" href="rykp.do?state=findall&kprq=&kprq2=&czf=&zbm=&cs=" target="mainIframe" hidefocus="hidefocus"><span>考评人员列表</span></a>
	  </div>
      <div style="display: none; left:10px;" id="second_tabs_2" class="second-tabs-container"></div>
	  <div style="display: none; " id="second_tabs_3" class="second-tabs-container">
	  <a class="" id="third_0" onClick="javascript:menu3Change(0);" href="cjgzrs.html?keepThis=true&TB_iframe=true&height=300&width=500" title="参加工作时间人数统计"  hidefocus="hidefocus" target="mainIframe"><span>工作时间人数</span></a>
      <a class="" id="third_1" onClick="javascript:menu3Change(1);" href="cjgzrsgl.html?keepThis=true&TB_iframe=true&height=400&width=500" title="参加计生工作人数工龄统计"  hidefocus="hidefocus" target="mainIframe"><span>工作人数工龄</span></a>
      <a class="" id="third_2" onClick="javascript:menu3Change(2);" href="xtrs.do"   hidefocus="hidefocus" target="mainIframe"><span>系统人数</span></a>
      <a  class="" id="third_3" onClick="javascript:menu3Change(3);" href="ryqk.html?keepThis=true&TB_iframe=true&height=400&width=500" title="计生人员情况统计表"  hidefocus="hidefocus" target="mainIframe"><span>人员情况</span></a>
      <a  class="" id="third_4" onClick="javascript:menu3Change(4);" href="zdyryqk.jsp?keepThis=true&TB_iframe=true&height=400&width=500" title="自定义年龄段人员情况统计"  hidefocus="hidefocus" target="mainIframe"><span>自定义年龄段人员情况</span></a>
      <a  class="" id="third_5" onClick="javascript:menu3Change(5);" href="gz.jsp?keepThis=true&TB_iframe=true&height=400&width=500" title="工资统计"  hidefocus="hidefocus" target="mainIframe"><span>工资</span></a>
      <a  class="" id="third_6" onClick="javascript:menu3Change(6);" href="pjnl.jsp?keepThis=true&TB_iframe=true&height=400&width=500" title="平均年龄统计"  hidefocus="hidefocus" target="mainIframe"><span>平均年龄</span></a>
      <a class=""  id="third_7" onClick="javascript:menu3Change(7);" href="nnnl.do" hidefocus="hidefocus" target="mainIframe"><span>男女年龄</span></a>
      <a class=""  id="third_8" onClick="javascript:menu3Change(8);" href="lrtj.do" title="录入人数统计" hidefocus="hidefocus" target="mainIframe"><span>录入人数</span></a>
      <a class=""  id="third_9" onClick="javascript:menu3Change(9);" href="pxtj.jsp?keepThis=true&TB_iframe=true&height=400&width=500" title="培训人数统计"  hidefocus="hidefocus" target="mainIframe"><span>培训人数</span></a>
      <a class=""  id="third_10" onClick="javascript:menu3Change(10);" href="pxdjtj.jsp?keepThis=true&TB_iframe=true&height=400&width=500" title="培训登记统计"  hidefocus="hidefocus" target="mainIframe"><span>培训登记</span></a>
      <a class=""  id="third_11" onClick="javascript:menu3Change(11);" href="kptj.jsp?keepThis=true&TB_iframe=true&height=400&width=500" title="考评人数统计"  hidefocus="hidefocus" target="mainIframe"><span>考评人数</span></a>
      <a class=""  id="third_12" onClick="javascript:menu3Change(12);" href="kpdjtj.jsp?keepThis=true&TB_iframe=true&height=400&width=500" title="考评登记统计"  hidefocus="hidefocus" target="mainIframe"><span>考评登记</span></a>
       <a class=""  id="third_13" onClick="javascript:menu3Change(13);" href="txtj.jsp?keepThis=true&TB_iframe=true&height=400&width=500" title="退休人数统计" hidefocus="hidefocus" target="mainIframe"><span>退休人数</span></a>
	  </div>
	  <div style="display: none; left: 180px;" id="second_tabs_4" class="second-tabs-container">
	  <a class="" id="four_0" onClick="javascript:menu4Change(0);" title="" href="dlyh.do?state=findall" hidefocus="hidefocus" target="mainIframe"><span>用户列表</span></a>
	  <a class="" id="four_1" onClick="javascript:menu4Change(1);" title="" href="dlyh.do?state=dlyhinfo" hidefocus="hidefocus" target="mainIframe"><span>个人信息</span></a>
	  <a class="" id="four_2" onClick="javascript:menu4Change(2);" title="" href="dlyh_updatepwd.jsp" hidefocus="hidefocus" target="mainIframe"><span>修改密码</span></a>
	  <%if((dlyh.getZd().getTypename().endsWith("县")||dlyh.getZd().getTypename().endsWith("区")||dlyh.getZd().getTypename().equals("武安市"))&&!dlyh.getZd().getTypename().equals("工业园区"))
	  { %>
	  <a class="" id="four_3" onClick="javascript:menu4Change(3);" title="" href="zd.do?state=showlist" hidefocus="hidefocus" target="mainIframe"><span>单位管理</span></a>
	  <%} %>
	  </div>
	  </div>
   </div>
   <!--
<div style="height: 520px;">
   <iframe id="mainIframe" name="mainIframe" src="right.do?state=showlist" scrolling="yes" border="0" framespacing="0" marginheight="0" marginwidth="0" frameborder="0" style="width:100%;height: 520px; overflow-x:yes;overflow-y:yes" ></iframe>
</div>-->
   <div id="overlay"></div>
   </body>
   </html>
